package com.giscloud.amp.entity.vo;

/**
 * @Author:gxd
 * @Description:系统左侧菜单
 * @Date: 9:56 2018/3/1
 * @Modified By:
 */

public class AmpMenuVO implements Comparable<AmpMenuVO> {
    private Long authId;
    private Long parentId;
    private String modelStyle;
    private String authName;
    private String url;
    private String authCode;
    private Integer dispOrder;

    public Long getAuthId() {
        return authId;
    }

    public void setAuthId(Long authId) {
        this.authId = authId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getModelStyle() {
        return modelStyle;
    }

    public void setModelStyle(String modelStyle) {
        this.modelStyle = modelStyle;
    }

    public String getAuthName() {
        return authName;
    }

    public void setAuthName(String authName) {
        this.authName = authName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getAuthCode() {
        return authCode;
    }

    public void setAuthCode(String authCode) {
        this.authCode = authCode;
    }

    public Integer getDispOrder() {
        return dispOrder;
    }

    public void setDispOrder(Integer dispOrder) {
        this.dispOrder = dispOrder;
    }

    @Override
    public int compareTo(AmpMenuVO o) {
        if (null == o) {return -1;}
        return this.getDispOrder().compareTo(o.getDispOrder());
    }
}
